package com.example.fitnessservice.module.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author feng
 * @version 1.0
 * @&#064;description: TODO
 * @&#064;date 2022/11/21 10:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseDetailsCamp {

    private Integer id;
    private Integer courseId;
    private Integer placeId;
    private String courseName;
    private Integer courseCoachId;//主教练id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date courseStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date courseEndTime;
    private Integer courseStatus;
    private String courseDescription;
    private double courseMoney;
    private Integer courseNum;
    //课程人数
    //存放教练的信息
    private Coach courseCoach;

    private Place place;
}
